class QuestionM {
  QuestionM({
    this.id,
    this.brandId,
    this.brandCode,
    this.areaCode,
    this.platform,
    this.type,
    this.question,
    this.answer,
    this.tips,
    this.createUnixTime,
    this.updateUnixTime,
  });

  QuestionM.fromJson(dynamic json) {
    id = json['id'];
    brandId = json['brand_id'];
    brandCode = json['brand_code'];
    areaCode = json['area_code'];
    platform = json['platform'];
    type = json['type'];
    question = json['question'];
    answer = json['answer'];
    tips = json['tips'];
    createUnixTime = json['create_unix_time'];
    updateUnixTime = json['update_unix_time'];
  }

  int? id;
  int? brandId;
  String? brandCode;
  String? areaCode;
  String? platform;
  String? type;
  String? question;
  String? answer;
  String? tips;
  int? createUnixTime;
  int? updateUnixTime;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['brand_id'] = brandId;
    map['brand_code'] = brandCode;
    map['area_code'] = areaCode;
    map['platform'] = platform;
    map['type'] = type;
    map['question'] = question;
    map['answer'] = answer;
    map['tips'] = tips;
    map['create_unix_time'] = createUnixTime;
    map['update_unix_time'] = updateUnixTime;
    return map;
  }
}
